This is the peace treaty signed in San Francisco between Japan and 48 nations which were among the Allies during World War II. This treaty brought an end to the Allied occupation of Japan and restored Japan's independence.
Japan and the United States signed this mutual security pact to secure peace in the Far East during the Cold War. The treaty allowed for U.S. military bases to be located in various Japanese regions. A cold war is intense hostility between nations without actual fighting. The Cold War was such hostilities between capitalist nations centered around the U.S. and socialist nations centered around the Soviet Union (former Russia.)